"use strict";

/**
 * @auther wtfssd
 * Created by wtfssd on 2017/11/3
 */
import * as React from 'react'

const {View, ScrollView, TouchableOpacity} = require('react-native');
const {connect} = require('react-redux');

const NavigationBar = require('react-native-navbar').default;
const {Actions} = require("react-native-router-flux");
import {autoSize, commonProps, commonStyles} from "../../assets/styles/common";

import MyText from "../../component/MyText";
import NavBackButton from "../../component/BackButton";
import NavRightButton from "../../component/RightButton";
import Colors from "../../assets/styles/Colors";
import SearchBar from "../../component/SearchBar";
import Line from "../../component/Line";
import MyIcon from "../../component/icon";
import {buildingExtraInfo, buildingGuideMainInfo, supportList} from "../../assets/data";
import {SCREEN_HEIGHT, SCREEN_WIDTH} from "../../constant";
import ActiveList from "../community/ActiveList";

const {List, InputItem, DatePicker} = require('antd-mobile');

class ActivePage extends React.Component<any, any> {
    constructor(props: any, context: any) {
        super(props, context);
        this.state = {};
    }

    render() {

        return (
            <View style={commonStyles.container}>
                <NavigationBar {...commonProps.navBar}
                               leftButton={<NavBackButton/>}
                               title={{title: this.props.title, tintColor: '#fff'}}
                />
                <ActiveList/>
            </View>
        );
    }
}


export default ActivePage;
